-
Home
-
Comments – wpDiscuz
-
7.6.21
-
Code
-
Classes
- TwitterOAuth
Total Complexity |
63 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
557 |
Lines of code |
251 |
Logical lines of code |
145 |
Comment lines |
215 |
Methods |
31 |
Properties |
6 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
request() |
A |
47 |
8 |
35 |
__construct() |
S |
62 |
5 |
11 |
curlOptions() |
S |
52 |
4 |
25 |
oAuthRequest() |
S |
57 |
4 |
16 |
mediaInitParameters() |
S |
60 |
3 |
14 |
parseHeaders() |
S |
61 |
3 |
11 |
uploadMediaChunked() |
S |
55 |
2 |
19 |
sleepIfNeeded() |
S |
74 |
3 |
5 |
requestsAvailable() |
S |
77 |
3 |
3 |
uploadMediaNotChunked() |
S |
65 |
3 |
8 |
oauth() |
S |
60 |
2 |
13 |
upload() |
S |
69 |
2 |
7 |
makeRequests() |
S |
63 |
2 |
10 |
pharRunning() |
S |
77 |
2 |
3 |
oauth2() |
S |
60 |
1 |
12 |
http() |
S |
68 |
1 |
7 |
encodeAppAuthorization() |
S |
72 |
1 |
5 |
delete() |
S |
78 |
1 |
3 |
put() |
S |
78 |
1 |
3 |
setOauthToken() |
S |
75 |
1 |
4 |
post() |
S |
78 |
1 |
3 |
get() |
S |
78 |
1 |
3 |
url() |
S |
70 |
1 |
6 |
resetAttemptsNumber() |
S |
81 |
1 |
3 |
resetLastResponse() |
S |
80 |
1 |
3 |
getLastBody() |
S |
81 |
1 |
3 |
getLastXHeaders() |
S |
81 |
1 |
3 |
getLastHttpCode() |
S |
81 |
1 |
3 |
getLastApiPath() |
S |
81 |
1 |
3 |
setBearer() |
S |
77 |
1 |
4 |
useCAFile() |
S |
80 |
1 |
3 |